<?php
/**
 * Enter description here ...
 * @author Micou13630
 *
 */
class StretchImgButton extends StretchImg {
	protected $hiliteAccessKey;
	
	protected $titleStyle;
	
	protected $wrap;
	
	// Function
	protected $action;
	
	/**
	 * Constructeur
	 * @param unknown_type $id
	 * @param unknown_type $title
	 */
	public function StretchImgButton($id, $title = null) {
		parent::StretchImg($id, $title);
	}
	
		
	/**
	 * Defini l'action du bouton
	 * @param FunctionType $func
	 */
	public function setJSAction($expression) {
		$this->action = new FunctionType(array(), $expression);
	} 
}
?>